Fix bug #17244 with line-move-visual when display string covers a lot of text.
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Apr 2014 11:21:47 +0000 (14:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Apr 2014 11:21:47 +0000 (14:21 +0300)
commitc9b321d2a16c865bf7a7536472e316ac9f3dfa3c
tree82883a5adfbe7c0f567249c9d8731b8f5964eac5
parent579ce911a88397fa274ddbbd70594c0a8a11515d
Fix bug #17244 with line-move-visual when display string covers a lot of text.

 src/xdisp.c (move_it_by_lines): If a large portion of buffer text is
 covered by a display string that ends in a newline, and that cases
 going back by DVPOS lines to hit the search limit, lift the limit
 and go back until DVPOS is reached.
 src/indent.c (Fvertical_motion): Handle correctly the case when the
 display string is preceded by an empty line.
src/ChangeLog
src/indent.c
src/xdisp.c